package com.letoy.edu.dao;

import com.letoy.edu.entity.CourseSchedule;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface ScheduleMapper {

    List<CourseSchedule> findAllSchedule();

    int updateScheduleByClassNumber(CourseSchedule courseSchedule);

    String findStartTime(int startClass);

    String findEndTime(int endClass);
}
